package bocchi.card;

import bocchi.base.BaseCustomCard;
import bocchi.BocchiCore;
import bocchi.power.ErosionPower;
import com.evacipated.cardcrawl.mod.stslib.actions.common.AllEnemyApplyPowerAction;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import com.megacrit.cardcrawl.powers.StrengthPower;

public class UncoverFace extends BaseCustomCard {
    private static final String RAW_ID = UncoverFace.class.getSimpleName();
	public static final String GAME_ID = BocchiCore.getGameID(RAW_ID);

    public UncoverFace() {
        super(RAW_ID);
        exhaust = true;
    }

    @Override
    public void use(AbstractPlayer player, AbstractMonster monster) {
        addToBot(new AllEnemyApplyPowerAction(player, 1, m -> new StrengthPower(m, -1)));
        addToBot(new AllEnemyApplyPowerAction(player, 1, m -> new ErosionPower(m, magicNumber)));
    }
}
